package com.hltx.service.redis;

public interface JedisClusterUtil {

	/**
	 * 加锁
	 * @return
	 * @author admin
	 * @version 2017
	 */
	public boolean lock(String key, long timeout, int expire);
	
	
	/**
	 * 解锁
	 * 
	 * @author admin
	 * @version 2017
	 */
	public void unlock(String key);
}
